package com.ssm.Dao;

import com.ssm.Utils.DBCPUtils;

public class deleteShopListAllDao {
    public Boolean deleteShopListAll(String username){

        String sql="delete from shop where u_id in(select id from user where name=?)";
        Object[] objects={username};

        boolean b = DBCPUtils.executeUpdate(sql, objects);

        return b;
    }
}
